<?php

class IndexController extends Uuch_BaseController{
    
    public function init() {
        
        parent::init();//中
		//$this->_helper->layout->disableLayout();
		//$this->_helper->layout->setLayout('admin');
    }
    
    
    public function indexAction()
    {
        $this->setTitle('省钱的个人国际快递服务');
        $this->appendCss('/css/index.css');
        $this->appendScript('/js/jquery.min.js');     
        
    }
    
    public function  index11Action()
    {
        $this->appendCss('/css/index.css');
        if($this->view->isLogin){
            $userid=$this->view->user->id;
            //获取用户仓库总数
            $utemp=Application_Model_StoreItem::getItemCount($userid,-1);          
            if($utemp==null){
                $utemp=0;
            }
            $uCount["store"]=$utemp;        
            
            $this->view->uCount=$uCount;
        }
    }
    
    public function uuchAction(){
        $this->setGaCustomVar(1, 'admin', 'true', Uuch_CustomVar::LEVEL_visitor);
    }


    public function evaluateAction()
    {
        
    }
}